project "Live"
	kind "StaticLib"
	language "C++"
	cppdialect "C++17"
	staticruntime "off"

	targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
	objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")

	pchheader "pch.h"
	pchsource "src/pch.cpp"

	files
	{
		"src/**.h",
		"src/**.cpp"
	}

	defines
	{
		"_CRT_SECURE_NO_WARNINGS"
	}

	includedirs
	{
		"src",
		"vendor/spdlog/include",
        "%{IncludeDir.VulkanSDK}",
		"%{IncludeDir.VulkanSDK_Third_Party}",
		"%{IncludeDir.ImGui}"
	}

	libdirs
	{
        "%{LibraryDir.VulkanSDK}",
		"%{LibraryDir.VulkanSDK_Third_Party}"

	}

	links
	{
		"glfw3.lib",
		"OpenGL32.Lib",
        "vulkan-1.lib",
		"ImGui"
	}

	filter "system:windows"
		systemversion "latest"
		defines
		{
			"LE_PLATFORM_WINDOWS"
		}

	filter "configurations:Debug"
		defines "LE_DEBUG"
		runtime "Debug"
		symbols "on"

	filter "configurations:Release"
		defines "LE_RELEASE"
		runtime "Release"
		optimize "on"


	filter "configurations:Dist"
		defines "LE_DIST"
		runtime "Release"
		optimize "on"

